package com.lanou3g.demo.mapper;

import com.lanou3g.demo.entity.Account;

import java.util.List;
import java.util.Map;

public interface AccountMapper {
    List<Account> findAll();

    Integer addOne(Account account);

    int upStatus(Integer accountId);

    Integer deleteById(Integer accountId);

    int update(Account account);

    Account findById(Integer accountId);

    List<Account> search(Account account);

    List<Account> findLimit(Map map);

    int findTotalCount();


}